﻿<phone:PhoneApplicationPage 
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
	xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
	mc:Ignorable="d" d:DesignWidth="480" d:DesignHeight="768"
	x:Class="Zombsquare.TrivialPage"
	FontFamily="{StaticResource PhoneFontFamilyNormal}"
	FontSize="{StaticResource PhoneFontSizeNormal}"
	Foreground="{StaticResource PhoneForegroundBrush}"
	Orientation="Portrait"
	shell:SystemTray.IsVisible="True">
	<phone:PhoneApplicationPage.Resources>
		<Style x:Key="BorderStyle1" TargetType="Border"/>
	</phone:PhoneApplicationPage.Resources>

	<!--LayoutRoot is the root grid where all page content is placed-->
    <Grid x:Name="LayoutRoot" Background="#FF891313">
		<Grid.RowDefinitions>
			<RowDefinition Height="Auto"/>
			<RowDefinition Height="*"/>
		</Grid.RowDefinitions>
		
		<!--TitlePanel contains the name of the application and page title-->
		<StackPanel x:Name="TitlePanel" Grid.Row="0" Margin="12,17,0,28">
			<TextBlock x:Name="ApplicationTitle" Text="ZOMBSQUARE" Style="{StaticResource PhoneTextNormalStyle}"/>
			<TextBlock x:Name="PageTitle" Margin="9,-7,0,0" Style="{StaticResource PhoneTextTitle1Style}"><Run Text="T"/><Run Text="rivial"/></TextBlock>
		</StackPanel>

		<!--ContentPanel - place additional content here-->
		<Grid x:Name="ContentPanel" Grid.Row="1" Margin="12,0,12,0">
            <Grid.RowDefinitions>
                <RowDefinition Height="124*" />
                <RowDefinition Height="483*" />
            </Grid.RowDefinitions>
            <ScrollViewer Margin="0,0,0,413" Grid.RowSpan="2">
            <TextBlock Height="Auto" HorizontalAlignment="Left" Margin="8,6,0,0" Name="textBlockPregunta" Text="{Binding Pregunta, Mode=OneWay}" VerticalAlignment="Top" Width="438" FontSize="32" TextWrapping="Wrap" Foreground="White" />
            </ScrollViewer>
            <!--<RadioButton Content="{Binding Opcion1}" Height="72" HorizontalAlignment="Left" Margin="12,198,0,0" Name="radioButtonA" VerticalAlignment="Top" Width="434" FontSize="28" Checked="radioButtonB_Checked" Foreground="White" />
            <RadioButton Content="{Binding Opcion2}" Height="72" HorizontalAlignment="Left" Margin="12,276,0,0" Name="radioButtonB" VerticalAlignment="Top" Width="434" FontSize="28" Checked="radioButtonB_Checked" Foreground="White" />
            <RadioButton Content="{Binding Opcion3}" Height="72" HorizontalAlignment="Left" Margin="12,354,0,0" Name="radioButtonC" VerticalAlignment="Top" Width="434" FontSize="28" Checked="radioButtonB_Checked" Foreground="White" />-->
            <StackPanel Grid.Row="2">
                <Border BorderBrush="White" BorderThickness="2" Margin="0,0,0,12" Style="{StaticResource BorderStyle1}">
                    <TextBlock TextWrapping="Wrap" Text="{Binding Opcion1}" Height="Auto" HorizontalAlignment="Left"  Name="radioButtonA" VerticalAlignment="Top" Width="434" FontSize="28" MouseLeftButtonUp="radioButtonB_Checked" Foreground="White" Margin="12,20,0,0" />
                </Border>
                <Border  BorderBrush="White" BorderThickness="2" Margin="0,0,0,12">
                    <TextBlock TextWrapping="Wrap" Text="{Binding Opcion2}" Height="Auto" HorizontalAlignment="Left" Name="radioButtonB" VerticalAlignment="Top" Width="434" FontSize="28" MouseLeftButtonUp="radioButtonB_Checked" Foreground="White" Margin="12,20,0,0" />
                </Border>
                <Border BorderBrush="White" BorderThickness="2">
                    <TextBlock TextWrapping="Wrap" Text="{Binding Opcion3}" Height="Auto" HorizontalAlignment="Left"  Name="radioButtonC" VerticalAlignment="Top" Width="434" FontSize="28" MouseLeftButtonUp="radioButtonB_Checked" Foreground="White" Margin="12,20,0,0" />
                </Border>
            </StackPanel>
        </Grid>
	</Grid>

    <phone:PhoneApplicationPage.ApplicationBar>
        <shell:ApplicationBar x:Name="applicationBar"
							  IsVisible="True"
							  IsMenuEnabled="False"
							  Opacity="0.7">

            <shell:ApplicationBarIconButton Text="Anterior" IconUri="/Resources/Icons/ApplicationBar/back.png" Click="ApplicationBarIconButtonAnterior_Click" />
            <shell:ApplicationBarIconButton Text="Siguiente" IconUri="/Resources/Icons/ApplicationBar/next.png"  Click="ApplicationBarIconButtonSiguiente_Click" />

        </shell:ApplicationBar>
    </phone:PhoneApplicationPage.ApplicationBar>
</phone:PhoneApplicationPage>